package com.csy;

import com.csy.service.UserService;
import com.csy.service.UserServiceImpl;
import com.spring.CsyApplicationContext;

public class Test {
    public static void main(String[] args) {
        CsyApplicationContext applicationContext =new CsyApplicationContext(AppConfig.class);
        UserService userService = (UserService) applicationContext.getBean("userService");
        userService.text();//1.代理对象 2.业务text

    }


}
